<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<title> left </title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${ctxpath}/common/css/style_frame.css" type="text/css" />
<script type="text/javascript" src="${ctxpath}/common/js/common.js"></script>
<SCRIPT type="text/javascript">
var ctxpath="${ctxpath}";
function closeAllTab(){
    parent.workframe.closeTabs();
}
function relogin(){
    if(confirm("确定要退出吗？")){
        top.location = "${ctxpath}/logout";
    }
}
</SCRIPT>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr class="head" id="head">
        <td width="200px">
            Youframe
        </td>
        <td align="right" valign="top">
            <table width="100%" height="56px"  border="0" cellpadding="0" cellspacing="0">
                <tr style="bgcolor:#f3f9fa" align="right">
                    <td>
                        <img src="${ctxpath}/common/images/icon/user.gif" alt="用户">${SPRING_SECURITY_CONTEXT.authentication.principal.username},${userName}
                        <img src="${ctxpath}/common/images/icon/user_icon.gif" alt="部门">${userInfo.deptVO.dname}
                        &nbsp;
                    </td>
                </tr>
                <tr align="left">
                    <td>ABC</td>
                </tr>
            </table>
        </td>
        <td width="100px">
            <table width="100%" height="56px"  border="0" cellpadding="0" cellspacing="0">
                <tr align="right">
                    <td>修改密码 &nbsp;<a href="#" onclick="relogin()">退出</a>&nbsp;</td>
                </tr>
                <tr align="right">
                    <td><a href="#" onclick="closeAllTab()">全部关闭</a></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</body>
</html>